/*
 * @Author: AskMeWhy 
 * @Date: 2020-07-03 09:49:44 
 * @Last Modified by: AskMeWhy
 * @Last Modified time: 2021-02-05 11:23:23
 */
const API_CONFIG = [
    {
        name: "login",
        namespace: "user",
        method: "post",
        data: {},
        path: "/applet/oauth/login",
        desc: "登录-授权",
    },
    {
        name: "refreshToken",
        namespace: "user",
        method: "post",
        headers: {
            "Content-Type": "multipart/form-data",
        },
        data: {},
        path: "/auth/oauth/token",
        desc: "登录过期-刷新token",
    },
    {
        name: "sendVerifyCode",
        namespace: "user",
        method: "get",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/cmsCustomer/getVerifyCode",
        desc: "获取验证码",
    },
    {
        name: "getInfo",
        namespace: "user",
        method: "get",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/cmsAuthentication/info",
        desc: "获取用户信息",
    },
    {
        name: "validAuth",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/cmsAuthentication/authentication",
        desc: "获取用户信息",
    },
    {
        name: "userUpdate",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/user/update",
        desc: "用户修改",
    },
    {
        name: "self",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/user/editPassword/self",
        desc: "修改密码",
    },
    {
        name: "invitationSendCode",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        mock: {
            open: false,
        },
        // params: {},
        path: "/applet/invitation/sendCode/:tel",
        desc: "发送验证码",
    },
    {
        name: "register",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        mock: {
            open: false,
        },
        path: "/applet/invitation/register",
        desc: "注册",
    },{
        name: "openId",
        namespace: "user",
        method: "get",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/user/openId",
        desc: "获取openid",
    },{
        name: "getTownName",
        namespace: "user",
        method: "get",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/government/getGovernmentByGovId/:govId",
        desc: "获取政级信息",
    },{
        name: "bind",
        namespace: "user",
        method: "get",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/user/bind",
        desc: "系统用户和微信绑定",
    },
    {
        name: "byCode",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/government/byCode/:code",
        desc: "政级api",
    },
    {
        name: "getDeptByGovId",
        namespace: "user",
        method: "get",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/department/getDeptByGovId",
        desc: "部门api",
    },
    {
        name: "sendCode",
        namespace: "user",
        method: "get",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/user/sendCode/:tel",
        desc: "找回密码发送验证码",
    },
    {
        name: "findPassword",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        data: {},
        mock: {
            open: false,
        },
        path: "/applet/user/findPassword",
        desc: "找回密码发送验证码",
    },
    {
        name: "get",
        namespace: "form",
        method: "get",
        setCommonParam: true,
        data: {},
        mock: {
            open: false,
        },
        path: "/applet/form/get",
        desc: "表单详情查询",
    },
    {
        name: "getDeptForm",
        namespace: "form",
        method: "post",
        setCommonParam: true,
        data: {},
        mock: {
            open: false,
        },
        path: "/applet/form/getDeptForm",
        desc: "查询当前用户部门表单",
    },
    {
        name: "refreshCode",
        namespace: "user",
        method: "post",
        setCommonParam: true,
        params: {},
        mock: {
            open: false,
        },
        path: "/applet/invitation/refreshCode/:userId",
        desc: "查询当前用户部门表单",
    },
    

    
    
];
export default API_CONFIG;
//findPassword